Platform Explorer / Nuxeo Platform 2021

Contribution org.nuxeo.ecm.platform.convert.plugins--converter

This contribution is part of XML component org.nuxeo.ecm.platform.convert.plugins inside nuxeo-platform-convert-2021.1.19.jar /OSGI-INF/convert-service-contrib.xml

Extension Point

Extension point converter of component ConversionServiceImpl.

Registration Order

4
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <converter class="org.nuxeo.ecm.platform.convert.plugins.UTF8CharsetConverter" name="2utf8">
          <sourceMimeType>text/xml</sourceMimeType>
          <sourceMimeType>text/html</sourceMimeType>
          <sourceMimeType>text/plain</sourceMimeType>
          <sourceMimeType>text/csv</sourceMimeType>
          <sourceMimeType>text/tsv</sourceMimeType>
          <destinationMimeType>text/xml</destinationMimeType>
          <destinationMimeType>text/html</destinationMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
          <destinationMimeType>text/csv</destinationMimeType>
          <destinationMimeType>text/tsv</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.Zip2HtmlConverter" name="zip2html">
          <destinationMimeType>text/html</destinationMimeType>
          <sourceMimeType>application/zip</sourceMimeType>
          <sourceMimeType>application/x-zip-compressed</sourceMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.WordPerfect2TextConverter" name="wpd2text">
          <sourceMimeType>application/wordperfect</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">wpd2text</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="wpd2html">
          <sourceMimeType>application/wordperfect</sourceMimeType>
          <destinationMimeType>text/html</destinationMimeType>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.PDF2HtmlConverter" name="pdf2html">
          <sourceMimeType>application/pdf</sourceMimeType>
          <destinationMimeType>text/html</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">pdftohtml</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="pdf2text">
          <sourceMimeType>application/pdf</sourceMimeType>
          <destinationMimeType>text/plain</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">pdftotext</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.PDF2ImageConverter" name="pdf2image">
          <sourceMimeType>application/pdf</sourceMimeType>
          <destinationMimeType>image/jpeg</destinationMimeType>
          <destinationMimeType>image/png</destinationMimeType>
          <destinationMimeType>image/gif</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">converter</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.Image2PDFConverter" name="image2pdf">
          <sourceMimeType>image/jpeg</sourceMimeType>
          <sourceMimeType>image/png</sourceMimeType>
          <sourceMimeType>image/gif</sourceMimeType>
          <destinationMimeType>application/pdf</destinationMimeType>
          <parameters>
            <parameter name="CommandLineName">converter</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2ods">
          <destinationMimeType>application/vnd.oasis.opendocument.spreadsheet</destinationMimeType>
    
          <!-- Microsoft office documents -->
          <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
          <!-- Microsoft office 2007 documents -->
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
          </sourceMimeType>
          <!-- OpenOffice.org 1.x documents -->
          <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
          <!-- OpenOffice.org 2.x documents -->
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet-template
          </sourceMimeType>
    
          <parameters>
            <parameter name="CommandLineName">soffice</parameter>
            <parameter name="format">ods</parameter>
          </parameters>
    
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2odp">
          <destinationMimeType>application/vnd.oasis.opendocument.presentation</destinationMimeType>
    
          <!-- Microsoft office documents -->
          <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
          <!-- Microsoft office 2007 documents -->
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.presentationml.presentation
          </sourceMimeType>
          <!-- OpenOffice.org 1.x documents -->
          <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
          <!-- OpenOffice.org 2.x documents -->
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation-template
          </sourceMimeType>
    
          <parameters>
            <parameter name="CommandLineName">soffice</parameter>
            <parameter name="format">odp</parameter>
          </parameters>
    
        </converter>
  • <converter bypassIfSameMimeType="true" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2pdf">
          <destinationMimeType>application/pdf</destinationMimeType>
    
          <sourceMimeType>application/pdf</sourceMimeType>
          <sourceMimeType>text/xml</sourceMimeType>
          <sourceMimeType>text/html</sourceMimeType>
          <sourceMimeType>text/plain</sourceMimeType>
          <sourceMimeType>text/partial</sourceMimeType>
          <sourceMimeType>text/rtf</sourceMimeType>
          <sourceMimeType>application/rtf</sourceMimeType>
          <sourceMimeType>text/csv</sourceMimeType>
          <sourceMimeType>text/tsv</sourceMimeType>
    
          <!-- Microsoft office documents -->
          <sourceMimeType>application/msword</sourceMimeType>
          <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
          <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
    
          <!-- Microsoft office 2007 documents -->
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.wordprocessingml.document
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.presentationml.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
          </sourceMimeType>
    
          <!-- OpenOffice.org 1.x documents -->
          <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>
    
          <!-- OpenOffice.org 2.x documents -->
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet-template
          </sourceMimeType>
          <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.text-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics-template
          </sourceMimeType>
    
          <!-- WordPerfect -->
          <sourceMimeType>application/wordperfect</sourceMimeType>
    
          <parameters>
            <parameter name="CommandLineName">soffice</parameter>
            <parameter name="format">pdf</parameter>
          </parameters>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="office2html">
          <destinationMimeType>text/html</destinationMimeType>
    
          <sourceMimeType>text/xml</sourceMimeType>
          <sourceMimeType>text/html</sourceMimeType>
          <sourceMimeType>text/plain</sourceMimeType>
          <sourceMimeType>text/rtf</sourceMimeType>
          <sourceMimeType>application/rtf</sourceMimeType>
          <sourceMimeType>text/csv</sourceMimeType>
          <sourceMimeType>text/tsv</sourceMimeType>
    
          <!-- Microsoft office documents -->
          <sourceMimeType>application/msword</sourceMimeType>
          <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
          <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
    
          <!-- Microsoft office 2007 documents -->
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.wordprocessingml.document
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.presentationml.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
          </sourceMimeType>
    
          <!-- OpenOffice.org 1.x documents -->
          <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>
    
          <!-- OpenOffice.org 2.x documents -->
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet-template
          </sourceMimeType>
          <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.text-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics-template
          </sourceMimeType>
    
          <!-- WordPerfect -->
          <sourceMimeType>application/wordperfect</sourceMimeType>
    
          <parameters>
            <parameter name="CommandLineName">soffice</parameter>
            <parameter name="format">html</parameter>
          </parameters>
    
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.Md2HtmlConverter" name="md2html">
          <destinationMimeType>text/html</destinationMimeType>
          <sourceMimeType>text/x-web-markdown</sourceMimeType>
        </converter>
  • <converter name="md2pdf">
          <conversionSteps>
            <subconverter>md2html</subconverter>
            <subconverter>any2pdf</subconverter>
          </conversionSteps>
        </converter>
  • <converter class="org.nuxeo.ecm.platform.convert.plugins.IWork2PDFConverter" name="iwork2pdf">
          <destinationMimeType>application/pdf</destinationMimeType>
          <sourceMimeType>application/vnd.apple.iwork</sourceMimeType>
          <sourceMimeType>application/vnd.apple.pages</sourceMimeType>
          <sourceMimeType>application/vnd.apple.numbers</sourceMimeType>
          <sourceMimeType>application/vnd.apple.keynote</sourceMimeType>
        </converter>
  • <converter name="iwork2html">
          <conversionSteps>
            <subconverter>iwork2pdf</subconverter>
            <subconverter>pdf2html</subconverter>
          </conversionSteps>
        </converter>

XML Source

<extension point="converter" target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl">

    <converter class="org.nuxeo.ecm.platform.convert.plugins.UTF8CharsetConverter" name="2utf8">
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>
      <destinationMimeType>text/xml</destinationMimeType>
      <destinationMimeType>text/html</destinationMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <destinationMimeType>text/csv</destinationMimeType>
      <destinationMimeType>text/tsv</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.Zip2HtmlConverter" name="zip2html">
      <destinationMimeType>text/html</destinationMimeType>
      <sourceMimeType>application/zip</sourceMimeType>
      <sourceMimeType>application/x-zip-compressed</sourceMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.WordPerfect2TextConverter" name="wpd2text">
      <sourceMimeType>application/wordperfect</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">wpd2text</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="wpd2html">
      <sourceMimeType>application/wordperfect</sourceMimeType>
      <destinationMimeType>text/html</destinationMimeType>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.PDF2HtmlConverter" name="pdf2html">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>text/html</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">pdftohtml</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.CommandLineConverter" name="pdf2text">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>text/plain</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">pdftotext</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.PDF2ImageConverter" name="pdf2image">
      <sourceMimeType>application/pdf</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">converter</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.Image2PDFConverter" name="image2pdf">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>application/pdf</destinationMimeType>
      <parameters>
        <parameter name="CommandLineName">converter</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2ods">
      <destinationMimeType>application/vnd.oasis.opendocument.spreadsheet</destinationMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>
      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">ods</parameter>
      </parameters>

    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2odp">
      <destinationMimeType>application/vnd.oasis.opendocument.presentation</destinationMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">odp</parameter>
      </parameters>

    </converter>

    <converter bypassIfSameMimeType="true" class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="any2pdf">
      <destinationMimeType>application/pdf</destinationMimeType>

      <sourceMimeType>application/pdf</sourceMimeType>
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/partial</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>
      <sourceMimeType>application/rtf</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>

      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.wordprocessingml.document
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>

      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>

      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics-template
      </sourceMimeType>

      <!-- WordPerfect -->
      <sourceMimeType>application/wordperfect</sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">pdf</parameter>
      </parameters>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.LibreOfficeConverter" name="office2html">
      <destinationMimeType>text/html</destinationMimeType>

      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>
      <sourceMimeType>application/rtf</sourceMimeType>
      <sourceMimeType>text/csv</sourceMimeType>
      <sourceMimeType>text/tsv</sourceMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>

      <!-- Microsoft office 2007 documents -->
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.wordprocessingml.document
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.presentationml.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
      </sourceMimeType>

      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>

      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics-template
      </sourceMimeType>

      <!-- WordPerfect -->
      <sourceMimeType>application/wordperfect</sourceMimeType>

      <parameters>
        <parameter name="CommandLineName">soffice</parameter>
        <parameter name="format">html</parameter>
      </parameters>

    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.Md2HtmlConverter" name="md2html">
      <destinationMimeType>text/html</destinationMimeType>
      <sourceMimeType>text/x-web-markdown</sourceMimeType>
    </converter>

    <converter name="md2pdf">
      <conversionSteps>
        <subconverter>md2html</subconverter>
        <subconverter>any2pdf</subconverter>
      </conversionSteps>
    </converter>

    <converter class="org.nuxeo.ecm.platform.convert.plugins.IWork2PDFConverter" name="iwork2pdf">
      <destinationMimeType>application/pdf</destinationMimeType>
      <sourceMimeType>application/vnd.apple.iwork</sourceMimeType>
      <sourceMimeType>application/vnd.apple.pages</sourceMimeType>
      <sourceMimeType>application/vnd.apple.numbers</sourceMimeType>
      <sourceMimeType>application/vnd.apple.keynote</sourceMimeType>
    </converter>

    <converter name="iwork2html">
      <conversionSteps>
        <subconverter>iwork2pdf</subconverter>
        <subconverter>pdf2html</subconverter>
      </conversionSteps>
    </converter>

  </extension>